<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script type="module">
        // 别名
        import * as data from './js/6.js';
        // data = {
        //     name:'..',
        //     say:'..',
        //     Person:'..'
        // }
        console.log(data);
        console.log(data.name);
        data.say();
        console.log(new data.Person());

    </script>
</body>

</html>